package com.emm.yixun.website.vo.estate;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.emm.yixun.common.model.Project;

import net.sf.oval.constraint.NotEmpty;

public class ProjectVo extends Project{
	/**
	 *外键、关联商户信息表（tm_mer_merchant）、项目数据权限要求字段
	 */
	@NotEmpty(message="商户ID不能为空!")
	private Long merchantId;
	/**
	 *部门数据权限要求字段
	 */
	@NotEmpty(message="用户编码不能为空!")
	private String userCode;
	/**
	 *项目名称
	 */
	/*@NotEmpty(message="项目名称不能为空!")*/
	private String projectName;
	/**
	 *开工时间
	 */
	@DateTimeFormat (pattern="yyyy-MM-dd")
	private Date startTime;
	
	/**
	 *交付日期
	 */
	@DateTimeFormat (pattern="yyyy-MM-dd")
	private Date deliveryDate;

	/**
	 *预售证领取日期
	 */
	@DateTimeFormat (pattern="yyyy-MM-dd")
	private Date salesPermissionDate;
	
	//LOGO图片地址
	private String logoUrl;
	//总平面图
	private String planeUrl;
	//周边配套图
	private String peripheryUrl;
	//效果图
	private String effectUrl;
	//交通图
	private String trafficUrl;
	//实景图
	private String realUrl;
	//样板图
	private String modelUrl;



	public Long getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	
	


	public Date getDeliveryDate() {
		return deliveryDate;
	}

	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	public Date getSalesPermissionDate() {
		return salesPermissionDate;
	}

	public void setSalesPermissionDate(Date salesPermissionDate) {
		this.salesPermissionDate = salesPermissionDate;
	}

	public String getLogoUrl() {
		return logoUrl;
	}

	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}

	public String getPlaneUrl() {
		return planeUrl;
	}

	public void setPlaneUrl(String planeUrl) {
		this.planeUrl = planeUrl;
	}

	public String getPeripheryUrl() {
		return peripheryUrl;
	}

	public void setPeripheryUrl(String peripheryUrl) {
		this.peripheryUrl = peripheryUrl;
	}

	public String getEffectUrl() {
		return effectUrl;
	}

	public void setEffectUrl(String effectUrl) {
		this.effectUrl = effectUrl;
	}

	public String getTrafficUrl() {
		return trafficUrl;
	}

	public void setTrafficUrl(String trafficUrl) {
		this.trafficUrl = trafficUrl;
	}

	public String getRealUrl() {
		return realUrl;
	}

	public void setRealUrl(String realUrl) {
		this.realUrl = realUrl;
	}

	public String getModelUrl() {
		return modelUrl;
	}

	public void setModelUrl(String modelUrl) {
		this.modelUrl = modelUrl;
	}
	
	
}
